package com.zhuqi.mapper;

import com.zhuqi.domain.ChatUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ChatUserMapper {

	int deleteByPrimaryKey(Integer id);

	int insert(ChatUser record);

	int insertSelective(ChatUser record);

	ChatUser selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(ChatUser record);

	int updateByPrimaryKey(ChatUser record);

	ChatUser selectByUserName(@Param("username") String username);
}